EventResponseFrame

data class EventResponseFrame(eventName: String, params: JsonElement, sessionId: SessionID?) : WebSocketFrame

Represents frame carrying event generated by protocol.

Constructors

EventResponseFrame
Link copied to clipboard
fun EventResponseFrame(eventName: String, params: JsonElement, sessionId: SessionID? = null)

Functions

matches
Link copied to clipboard
fun matches(sessionId: SessionID?): Boolean
fun matches(eventName: String, sessionId: SessionID?): Boolean

Properties

eventName
Link copied to clipboard
val eventName: String
params
Link copied to clipboard
val params: JsonElement
sessionId
Link copied to clipboard
val sessionId: SessionID? = null

Sources

jvm source
Link copied to clipboard